create or replace function errorCode()
returns integer as
$$
begin
  return 0;
end;
$$ language plpgsql immutable;